package com.ntschy.common.core.entity.dataobject;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ntschy.common.core.BaseEntity;
import com.ntschy.common.core.entity.enums.SysWhetherEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ezreal_geng
 */
@TableName("SYS_DICT_TYPE")
@Data
@NoArgsConstructor  //无参构造函数
@ApiModel(description = "数据字典类型")
public class SysDictType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典类型主键")
    @TableId(value = "DictID")
    private String dictId;

    @ApiModelProperty(value = "字典名称")
    @TableField(value = "DictName")
    private String dictName;

    @ApiModelProperty(value = "字典类型")
    @TableField(value = "DictType")
    private String dictType;

    @ApiModelProperty(value = "是否系统内置 0-否 1-是")
    @TableField(value = "IsSystem")
    private SysWhetherEnum isSystem;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CreateUserID", fill = FieldFill.INSERT)
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CreateTime", fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "UpdateTime", fill = FieldFill.UPDATE)
    private String updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField(value = "UpdateUserID", fill = FieldFill.UPDATE)
    private String updateUserId;

    @ApiModelProperty(value = "备注")
    @TableField(value = "Remark")
    private String remark;




}
